FrameResource

data class FrameResource(url: String, type: ResourceType, mimeType: String, lastModified: TimeSinceEpoch?, contentSize: Double?, failed: Boolean?, canceled: Boolean?)

Information about the Resource on the page.

Constructors

FrameResource
Link copied to clipboard
fun FrameResource(url: String, type: ResourceType, mimeType: String, lastModified: TimeSinceEpoch? = null, contentSize: Double? = null, failed: Boolean? = null, canceled: Boolean? = null)

Properties

canceled
Link copied to clipboard
val canceled: Boolean? = null
True if the resource was canceled during loading.
contentSize
Link copied to clipboard
val contentSize: Double? = null
Resource content size.
failed
Link copied to clipboard
val failed: Boolean? = null
True if the resource failed to load.
lastModified
Link copied to clipboard
val lastModified: TimeSinceEpoch? = null
last-modified timestamp as reported by server.
mimeType
Link copied to clipboard
val mimeType: String
Resource mimeType as determined by the browser.
type
Link copied to clipboard
val type: ResourceType
Type of this resource.
url
Link copied to clipboard
val url: String
Resource URL.

Sources

jvm source
Link copied to clipboard